//
//  JQFYMineBaseNavController.m
//  JQFY
//
//  Created by 代辉 on 2017/8/28.
//  Copyright © 2017年 yannis. All rights reserved.
//

#import "JQFYMineBaseNavController.h"

@interface JQFYMineBaseNavController ()

@end

@implementation JQFYMineBaseNavController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
    [self.navigationBar setShadowImage:[[UIImage alloc] init]];
    self.navigationBar.barStyle = UIBarStyleBlack;
    self.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:16]};
    [self.navigationBar setTintColor:[UIColor whiteColor]];
    
}
-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if (self.viewControllers.count > 0) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:YES];
}
@end
